﻿using Interfaces.FilterModels;
using Interfaces.Filters;
using Interfaces.Models;

namespace BusinessLogic.Models.Filter.GenericFilters
{
    public class CompanyFilter : NameSupportedFilter<ICompany, INameSupportedFilterModel>, ICompanyFilter
    {
        public CompanyFilter(IQuoteisFilter quoteisFilter, ICompanyFilterModel filterModel)
            : base(filterModel)
        {
            FilterModel = filterModel;
            QuoteisFilter = quoteisFilter;
        }

        public IQuoteisFilter QuoteisFilter { get; private set; }

        public ICompanyFilterModel FilterModel { get; set; }
    }
}
